\hypertarget{class_q_qt_custom_verification_code}{}\section{Q\+Qt\+Custom\+Verification\+Code Class Reference}
\label{class_q_qt_custom_verification_code}\index{Q\+Qt\+Custom\+Verification\+Code@{Q\+Qt\+Custom\+Verification\+Code}}


The Q\+Qt\+Verification\+Code class 验证码窗体  




{\ttfamily \#include $<$qqtcustomverificationcode.\+h$>$}

Inheritance diagram for Q\+Qt\+Custom\+Verification\+Code\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{class_q_qt_custom_verification_code}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{class_q_qt_custom_verification_code_abae25f1490e55082df196cde30d83d73}\label{class_q_qt_custom_verification_code_abae25f1490e55082df196cde30d83d73}} 
{\bfseries Q\+Qt\+Custom\+Verification\+Code} (Q\+Widget $\ast$parent=0, quint16 width=180, quint16 height=50, quint8 count=6)
\item 
Q\+Pixmap \mbox{\hyperlink{class_q_qt_custom_verification_code_a033f0fe414236d0bce2a5d91911be711}{generate\+One\+Captcha}} ()
\begin{DoxyCompactList}\small\item\em generate\+One\+Captcha 生成一个验证码 \end{DoxyCompactList}\item 
Q\+String \mbox{\hyperlink{class_q_qt_custom_verification_code_ad6540b4058bef47ba80b1e850bbe3bdb}{get\+Current\+Captcha}} () const
\begin{DoxyCompactList}\small\item\em get\+Current\+Captcha 获取当前验证码串 \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_q_qt_custom_verification_code_afd853478580805ed8a898475c56264cf}{set\+Current\+Captcha}} (const Q\+String \&value)
\begin{DoxyCompactList}\small\item\em set\+Current\+Captcha 设置当前验证码 \end{DoxyCompactList}\item 
quint16 \mbox{\hyperlink{class_q_qt_custom_verification_code_a3c2d9a7d3ed45a34221d5aa3c34ff298}{get\+Canvas\+Width}} () const
\begin{DoxyCompactList}\small\item\em get\+Canvas\+Width 获取画布的宽度 \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_q_qt_custom_verification_code_ab1e673bff70db1224ade11a3c6e0b54b}{set\+Canvas\+Width}} (const quint16 \&value)
\begin{DoxyCompactList}\small\item\em set\+Canvas\+Width 设置画布的宽度 \end{DoxyCompactList}\item 
quint16 \mbox{\hyperlink{class_q_qt_custom_verification_code_afb6a96e821e50c872b455b0c1fa77879}{get\+Canvas\+Height}} () const
\begin{DoxyCompactList}\small\item\em get\+Canvas\+Height 获取画布的高度 \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_q_qt_custom_verification_code_ab1eadf9434141d948142b26d3917aff2}{set\+Canvas\+Height}} (const quint16 \&value)
\begin{DoxyCompactList}\small\item\em set\+Canvas\+Height 设置画布的高度 \end{DoxyCompactList}\item 
quint8 \mbox{\hyperlink{class_q_qt_custom_verification_code_a4e87faca32965398ee697f7c44bb05aa}{get\+Captcha\+Size}} () const
\begin{DoxyCompactList}\small\item\em get\+Captcha\+Count 获取验证码的数量 \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_q_qt_custom_verification_code_a93f46516afd27edb00b9330be16f28c4}{set\+Captcha\+Size}} (const quint8 \&value)
\begin{DoxyCompactList}\small\item\em set\+Captcha\+Count 设置验证码的数量 \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
The Q\+Qt\+Verification\+Code class 验证码窗体 

\subsection{Member Function Documentation}
\mbox{\Hypertarget{class_q_qt_custom_verification_code_a033f0fe414236d0bce2a5d91911be711}\label{class_q_qt_custom_verification_code_a033f0fe414236d0bce2a5d91911be711}} 
\index{Q\+Qt\+Custom\+Verification\+Code@{Q\+Qt\+Custom\+Verification\+Code}!generate\+One\+Captcha@{generate\+One\+Captcha}}
\index{generate\+One\+Captcha@{generate\+One\+Captcha}!Q\+Qt\+Custom\+Verification\+Code@{Q\+Qt\+Custom\+Verification\+Code}}
\subsubsection{\texorpdfstring{generate\+One\+Captcha()}{generateOneCaptcha()}}
{\footnotesize\ttfamily Q\+Pixmap Q\+Qt\+Custom\+Verification\+Code\+::generate\+One\+Captcha (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



generate\+One\+Captcha 生成一个验证码 

\begin{DoxyReturn}{Returns}

\end{DoxyReturn}
\mbox{\Hypertarget{class_q_qt_custom_verification_code_afb6a96e821e50c872b455b0c1fa77879}\label{class_q_qt_custom_verification_code_afb6a96e821e50c872b455b0c1fa77879}} 
\index{Q\+Qt\+Custom\+Verification\+Code@{Q\+Qt\+Custom\+Verification\+Code}!get\+Canvas\+Height@{get\+Canvas\+Height}}
\index{get\+Canvas\+Height@{get\+Canvas\+Height}!Q\+Qt\+Custom\+Verification\+Code@{Q\+Qt\+Custom\+Verification\+Code}}
\subsubsection{\texorpdfstring{get\+Canvas\+Height()}{getCanvasHeight()}}
{\footnotesize\ttfamily quint16 Q\+Qt\+Custom\+Verification\+Code\+::get\+Canvas\+Height (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const}



get\+Canvas\+Height 获取画布的高度 

\begin{DoxyReturn}{Returns}

\end{DoxyReturn}
\mbox{\Hypertarget{class_q_qt_custom_verification_code_a3c2d9a7d3ed45a34221d5aa3c34ff298}\label{class_q_qt_custom_verification_code_a3c2d9a7d3ed45a34221d5aa3c34ff298}} 
\index{Q\+Qt\+Custom\+Verification\+Code@{Q\+Qt\+Custom\+Verification\+Code}!get\+Canvas\+Width@{get\+Canvas\+Width}}
\index{get\+Canvas\+Width@{get\+Canvas\+Width}!Q\+Qt\+Custom\+Verification\+Code@{Q\+Qt\+Custom\+Verification\+Code}}
\subsubsection{\texorpdfstring{get\+Canvas\+Width()}{getCanvasWidth()}}
{\footnotesize\ttfamily quint16 Q\+Qt\+Custom\+Verification\+Code\+::get\+Canvas\+Width (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const}



get\+Canvas\+Width 获取画布的宽度 

\begin{DoxyReturn}{Returns}

\end{DoxyReturn}
\mbox{\Hypertarget{class_q_qt_custom_verification_code_a4e87faca32965398ee697f7c44bb05aa}\label{class_q_qt_custom_verification_code_a4e87faca32965398ee697f7c44bb05aa}} 
\index{Q\+Qt\+Custom\+Verification\+Code@{Q\+Qt\+Custom\+Verification\+Code}!get\+Captcha\+Size@{get\+Captcha\+Size}}
\index{get\+Captcha\+Size@{get\+Captcha\+Size}!Q\+Qt\+Custom\+Verification\+Code@{Q\+Qt\+Custom\+Verification\+Code}}
\subsubsection{\texorpdfstring{get\+Captcha\+Size()}{getCaptchaSize()}}
{\footnotesize\ttfamily quint8 Q\+Qt\+Custom\+Verification\+Code\+::get\+Captcha\+Size (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const}



get\+Captcha\+Count 获取验证码的数量 

\begin{DoxyReturn}{Returns}

\end{DoxyReturn}
\mbox{\Hypertarget{class_q_qt_custom_verification_code_ad6540b4058bef47ba80b1e850bbe3bdb}\label{class_q_qt_custom_verification_code_ad6540b4058bef47ba80b1e850bbe3bdb}} 
\index{Q\+Qt\+Custom\+Verification\+Code@{Q\+Qt\+Custom\+Verification\+Code}!get\+Current\+Captcha@{get\+Current\+Captcha}}
\index{get\+Current\+Captcha@{get\+Current\+Captcha}!Q\+Qt\+Custom\+Verification\+Code@{Q\+Qt\+Custom\+Verification\+Code}}
\subsubsection{\texorpdfstring{get\+Current\+Captcha()}{getCurrentCaptcha()}}
{\footnotesize\ttfamily Q\+String Q\+Qt\+Custom\+Verification\+Code\+::get\+Current\+Captcha (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const}



get\+Current\+Captcha 获取当前验证码串 

\begin{DoxyReturn}{Returns}

\end{DoxyReturn}
\mbox{\Hypertarget{class_q_qt_custom_verification_code_ab1eadf9434141d948142b26d3917aff2}\label{class_q_qt_custom_verification_code_ab1eadf9434141d948142b26d3917aff2}} 
\index{Q\+Qt\+Custom\+Verification\+Code@{Q\+Qt\+Custom\+Verification\+Code}!set\+Canvas\+Height@{set\+Canvas\+Height}}
\index{set\+Canvas\+Height@{set\+Canvas\+Height}!Q\+Qt\+Custom\+Verification\+Code@{Q\+Qt\+Custom\+Verification\+Code}}
\subsubsection{\texorpdfstring{set\+Canvas\+Height()}{setCanvasHeight()}}
{\footnotesize\ttfamily void Q\+Qt\+Custom\+Verification\+Code\+::set\+Canvas\+Height (\begin{DoxyParamCaption}\item[{const quint16 \&}]{value }\end{DoxyParamCaption})}



set\+Canvas\+Height 设置画布的高度 


\begin{DoxyParams}{Parameters}
{\em value} & \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_q_qt_custom_verification_code_ab1e673bff70db1224ade11a3c6e0b54b}\label{class_q_qt_custom_verification_code_ab1e673bff70db1224ade11a3c6e0b54b}} 
\index{Q\+Qt\+Custom\+Verification\+Code@{Q\+Qt\+Custom\+Verification\+Code}!set\+Canvas\+Width@{set\+Canvas\+Width}}
\index{set\+Canvas\+Width@{set\+Canvas\+Width}!Q\+Qt\+Custom\+Verification\+Code@{Q\+Qt\+Custom\+Verification\+Code}}
\subsubsection{\texorpdfstring{set\+Canvas\+Width()}{setCanvasWidth()}}
{\footnotesize\ttfamily void Q\+Qt\+Custom\+Verification\+Code\+::set\+Canvas\+Width (\begin{DoxyParamCaption}\item[{const quint16 \&}]{value }\end{DoxyParamCaption})}



set\+Canvas\+Width 设置画布的宽度 


\begin{DoxyParams}{Parameters}
{\em value} & \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_q_qt_custom_verification_code_a93f46516afd27edb00b9330be16f28c4}\label{class_q_qt_custom_verification_code_a93f46516afd27edb00b9330be16f28c4}} 
\index{Q\+Qt\+Custom\+Verification\+Code@{Q\+Qt\+Custom\+Verification\+Code}!set\+Captcha\+Size@{set\+Captcha\+Size}}
\index{set\+Captcha\+Size@{set\+Captcha\+Size}!Q\+Qt\+Custom\+Verification\+Code@{Q\+Qt\+Custom\+Verification\+Code}}
\subsubsection{\texorpdfstring{set\+Captcha\+Size()}{setCaptchaSize()}}
{\footnotesize\ttfamily void Q\+Qt\+Custom\+Verification\+Code\+::set\+Captcha\+Size (\begin{DoxyParamCaption}\item[{const quint8 \&}]{value }\end{DoxyParamCaption})}



set\+Captcha\+Count 设置验证码的数量 


\begin{DoxyParams}{Parameters}
{\em value} & \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_q_qt_custom_verification_code_afd853478580805ed8a898475c56264cf}\label{class_q_qt_custom_verification_code_afd853478580805ed8a898475c56264cf}} 
\index{Q\+Qt\+Custom\+Verification\+Code@{Q\+Qt\+Custom\+Verification\+Code}!set\+Current\+Captcha@{set\+Current\+Captcha}}
\index{set\+Current\+Captcha@{set\+Current\+Captcha}!Q\+Qt\+Custom\+Verification\+Code@{Q\+Qt\+Custom\+Verification\+Code}}
\subsubsection{\texorpdfstring{set\+Current\+Captcha()}{setCurrentCaptcha()}}
{\footnotesize\ttfamily void Q\+Qt\+Custom\+Verification\+Code\+::set\+Current\+Captcha (\begin{DoxyParamCaption}\item[{const Q\+String \&}]{value }\end{DoxyParamCaption})}



set\+Current\+Captcha 设置当前验证码 


\begin{DoxyParams}{Parameters}
{\em value} & \\
\hline
\end{DoxyParams}


The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item 
R\+:/\+Develop/a0-\/develop/\+Lib\+Q\+Qt/src/exquisite/qqtcustomverificationcode.\+h\item 
R\+:/\+Develop/a0-\/develop/\+Lib\+Q\+Qt/src/exquisite/qqtcustomverificationcode.\+cpp\end{DoxyCompactItemize}
